_wwww_cccc_ssss_wwww_cccc_ssss_,,,, _wwww_cccc_ssss_wwww_iiii_dddd_tttt_hhhh_,,,, _wwww_cccc_wwww_iiii_dddd_tttt_hhhh - _wwww_cccc_hhhh_aaaa_rrrr______tttt string operations and type
The arguments _s_1, _s_2, and _s point to _wwww_cccc_hhhh_aaaa_rrrr______tttt strings (that is, arrays of
_wwww_cccc_hhhh_aaaa_rrrr______tttt characters terminated by a _wwww_cccc_hhhh_aaaa_rrrr______tttt null character). The
functions _wwww_cccc_ssss_cccc_aaaa_tttt, _wwww_ssss_cccc_aaaa_tttt, _wwww_cccc_ssss_nnnn_cccc_aaaa_tttt, _wwww_ssss_nnnn_cccc_aaaa_tttt, _wwww_cccc_ssss_cccc_pppp_yyyy, _wwww_ssss_cccc_pppp_yyyy, _wwww_cccc_ssss_nnnn_cccc_pppp_yyyy and
_wwww_ssss_nnnn_cccc_pppp_yyyy all modify _s_1. These functions do not check for an overflow
condition of the array pointed to by _s_1.
_wwww_cccc_ssss_cccc_aaaa_tttt and _wwww_ssss_cccc_aaaa_tttt append a copy of the _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2 to the end of the
_wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_1. _wwww_cccc_ssss_nnnn_cccc_aaaa_tttt and _wwww_ssss_nnnn_cccc_aaaa_tttt append at most _n _wwww_cccc_hhhh_aaaa_rrrr______tttt
characters. Each function returns _s_1.
_wwww_cccc_ssss_cccc_mmmm_pppp and _wwww_ssss_cccc_mmmm_pppp compare its arguments and returns an integer less than,
equal to, or greater than _0000, depending on whether _s_1 is less than, equal
to, or greater than _s_2. _wwww_cccc_ssss_nnnn_cccc_mmmm_pppp and _wwww_ssss_nnnn_cccc_mmmm_pppp make the same comparison but
look at most at _n _wwww_cccc_hhhh_aaaa_rrrr______tttt characters.
_wwww_cccc_ssss_cccc_pppp_yyyy and _wwww_ssss_cccc_pppp_yyyy copy _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2 to _s_1, stopping after the _wwww_cccc_hhhh_aaaa_rrrr______tttt
null character has been copied. _wwww_cccc_ssss_nnnn_cccc_pppp_yyyy and _wwww_ssss_nnnn_cccc_pppp_yyyy copy exactly _n
_wwww_cccc_hhhh_aaaa_rrrr______tttt characters, truncating _s_2 or adding _wwww_cccc_hhhh_aaaa_rrrr______tttt null characters to
_s_1, if necessary. The result will not be _wwww_cccc_hhhh_aaaa_rrrr______tttt null-terminated if the
length of _s_2 is _n or more. Each function returns _s_1.
_wwww_cccc_ssss_llll_eeee_nnnn and _wwww_ssss_llll_eeee_nnnn return the number of _wwww_cccc_hhhh_aaaa_rrrr______tttt characters in _s, not
including the terminating _wwww_cccc_hhhh_aaaa_rrrr______tttt null character.
_wwww_cccc_ssss_cccc_hhhh_rrrr, _wwww_ssss_cccc_hhhh_rrrr, _wwww_cccc_ssss_rrrr_cccc_hhhh_rrrr and _wwww_ssss_rrrr_cccc_hhhh_rrrr return a pointer to the first and last
occurrence, respectively, of _wwww_cccc_hhhh_aaaa_rrrr______tttt character _c in _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s, or
a null pointer, if _c does not occur in the string. The _wwww_cccc_hhhh_aaaa_rrrr______tttt null
character terminating a string is considered to be part of the string.
_wwww_cccc_ssss_pppp_bbbb_rrrr_kkkk and _wwww_ssss_pppp_bbbb_rrrr_kkkk return a pointer to the first occurrence in _wwww_cccc_hhhh_aaaa_rrrr______tttt
string _s_1 of any _wwww_cccc_hhhh_aaaa_rrrr______tttt character from _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2, or a null
pointer if there is no _wwww_cccc_hhhh_aaaa_rrrr______tttt character from _s_2 in _s_1.
_wwww_cccc_ssss_ssss_pppp_nnnn and _wwww_ssss_ssss_pppp_nnnn return the length of the initial segment of _wwww_cccc_hhhh_aaaa_rrrr______tttt
string _s_1, which consists entirely of _wwww_cccc_hhhh_aaaa_rrrr______tttt characters from _wwww_cccc_hhhh_aaaa_rrrr______tttt
string _s_2. _wwww_ssss_cccc_ssss_pppp_nnnn returns the length of the initial segment of _wwww_cccc_hhhh_aaaa_rrrr______tttt
string _s_1, which does not consist entirely of _wwww_cccc_hhhh_aaaa_rrrr______tttt characters from
_wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2.
_wwww_cccc_ssss_tttt_oooo_kkkk treats the _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_1 as a sequence of zero or more text
tokens, separated by spans of one or more _wwww_cccc_hhhh_aaaa_rrrr______tttt characters from the
separator _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2. The first call (with the pointer _s_1
specified) returns a pointer to the first _wwww_cccc_hhhh_aaaa_rrrr______tttt character of the first
token, and writes a _wwww_cccc_hhhh_aaaa_rrrr______tttt null character into _s_1 immediately following
the returned token. The function keeps track of its position in the
_wwww_cccc_hhhh_aaaa_rrrr______tttt string between separate calls, so that subsequent calls (which
must be made with the first argument a null pointer) will progress
through the _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_1 immediately following that token.
Similarly, subsequent calls will progress through the _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_1
until no tokens remain. The _wwww_cccc_hhhh_aaaa_rrrr______tttt separator string _s_2 may be different
from call to call. A null pointer is returned when no token remains in
_s_1.
_wwww_ssss_tttt_oooo_ssss_tttt_rrrr transforms _wwww_cccc_hhhh_aaaa_rrrr______tttt characters in _wwww_cccc_hhhh_aaaa_rrrr______tttt string _s_2 into EUC, and
transfers them to character string _s_1, stopping after the _wwww_cccc_hhhh_aaaa_rrrr______tttt null
character has been processed.
_wwww_cccc_ssss_cccc_oooo_llll_llll compares the wide character string pointed to by _s_1 to the wide
character string pointed to by _s_2, both interpreted as appropriate to the
LC_COLLATE category of the current locale. Upon successful completion,
_wwww_cccc_ssss_cccc_oooo_llll_llll returns an integer greater than, equal to or less than zero,
according to whether the wide character string pointed to by _s_1 is
greater than, equal to or less than the wide character string pointed to
by _s_2, when both are interpreted as appropriate to the current locale.
On error, _wwww_cccc_ssss_cccc_oooo_llll_llll may set _e_r_r_n_o, but no return value is reserved to
indicate an error. If _e_r_r_n_o is set to EINVAL, then the _s_1 or _s_2
arguments contain wide character codes outside the domain of the
collating sequence.
_wwww_cccc_ssss_wwww_cccc_ssss locates the first occurrence in the wide character string pointed
to by _s_1 of the sequence of wide-character codes (excluding the
terminating null wide-character code) in the wide character string
pointed to by _s_2. Upon successful completion, _wwww_cccc_ssss_wwww_cccc_ssss returns a pointer
to the located wide character string or a null pointer if the wide
character string is not found. If _s_2 points to a wide character string
with zero length, the function returns _s_1.
_wwww_cccc_ssss_wwww_iiii_dddd_tttt_hhhh determines the number of column positions required for _n wide-
character codes (or fewer than _n wide-character codes if a null wide-
character code is encountered before _n wide-character codes are
exhausted) in the string pointed to by _s. _wwww_cccc_ssss_wwww_iiii_dddd_tttt_hhhh either returns _0 (if
_s points to a null wide-character code), or returns the number of column
positions to be occupied by the wide character string pointed to by _s, or
returns -_1 (if any of the first _n wide-character codes in the wide
character string pointed to by _s is not a printing wide-character code).
_wwww_cccc_wwww_iiii_dddd_tttt_hhhh determines the number of column positions required for the wide
character _w_c. The value of _w_c must be a character representable as a
_wwww_cccc_hhhh_aaaa_rrrr______tttt, and must be a wide-character code corresponding to a valid
character in the current locale. _wwww_cccc_wwww_iiii_dddd_tttt_hhhh either returns _0 (if _w_c is a
null wide-character code), or returns the number of column positions to
be occupied by the wide-character code _w_c, or returns -_1 (if _w_c does not